-- GENERATED SPELL FOR [Kodo Calf] --


function spell0_2972(pUnit, Event) --@Rushing Charge,Self--
pUnit:FullCastSpellOnTarget(6268,pUnit)
pUnit:RegisterEvent('Sorts_2972', 3000, 1)
end

function Sorts_2972(pUnit, Event)
local choix_sorts_2972 = math.random(0, 0)
if choix_sorts_2972 == 0 then
pUnit:RegisterEvent('spell0_2972', 1, 1)
end
end

function mob2972_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2972', math.random(1500, 3000), 1)
end

function mob2972_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2972_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2972_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2972, 1, 'mob2972_Action')
RegisterUnitEvent(2972, 2, 'mob2972_Leave')
RegisterUnitEvent(2972, 3, 'mob2972_Kill')
RegisterUnitEvent(2972, 4, 'mob2972_Die')
